<ui:composition xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:c="http://java.sun.com/jstl/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:a4j="http://www.sinosoft.com.cn/a4j"
	xmlns:sino="http://www.sinosoft.com.cn/sino">
	
	
	
	<div style="position:absolute;right:0;top:60px;">
		<sino:panelMenu mode="ajax" iconExpandedGroup="disc" styleClass="canvas-palette-panel-menu"
			iconCollapsedGroup="disc" iconExpandedTopGroup="chevronUp"
			iconGroupTopPosition="right" iconCollapsedTopGroup="chevronDown">
			<sino:panelMenuGroup label="流程元素" styleClass="canvas-palette-panel-menu-group">
				<sino:panelMenuItem label="开始活动" icon="./img/bpm/circle_green.png"
					onclick="SinoPortal.Cias.BpmConfig.bpmConfigElementAddCom('#{canvasViewBean.id}',SinoPortal.Cias.BpmFigure.startCom);" mode="none">
				</sino:panelMenuItem>
				<sino:panelMenuItem label="结束活动" icon="./img/bpm/rectangle.png"
					onclick="SinoPortal.Cias.BpmConfig.bpmConfigElementAddCom('#{canvasViewBean.id}',SinoPortal.Cias.BpmFigure.endCom);" mode="none">
				</sino:panelMenuItem>
				<sino:panelMenuItem label="取消活动" icon="./img/bpm/offshoot32.png"
					onclick="SinoPortal.Cias.BpmConfig.bpmConfigElementAddCom('#{canvasViewBean.id}',SinoPortal.Cias.BpmFigure.endCancelCom);" mode="none">
				</sino:panelMenuItem>
				<sino:panelMenuItem label="错误活动" icon="./img/bpm/plus32.png"
					onclick="SinoPortal.Cias.BpmConfig.bpmConfigElementAddCom('#{canvasViewBean.id}',SinoPortal.Cias.BpmFigure.endErrorCom);" mode="none">
				</sino:panelMenuItem>
				<sino:panelMenuItem label="判断活动" icon="./img/bpm/circle_red.png"
					onclick="SinoPortal.Cias.BpmConfig.bpmConfigElementAddCom('#{canvasViewBean.id}',SinoPortal.Cias.BpmFigure.decisionCom);" mode="none">
				</sino:panelMenuItem>
				<sino:panelMenuItem label="分支活动" icon="./img/bpm/circle_red.png"
					onclick="SinoPortal.Cias.BpmConfig.bpmConfigElementAddCom('#{canvasViewBean.id}',SinoPortal.Cias.BpmFigure.forkCom);" mode="none">
				</sino:panelMenuItem>
				<sino:panelMenuItem label="聚合活动" icon="./img/bpm/circle_red.png"
					onclick="SinoPortal.Cias.BpmConfig.bpmConfigElementAddCom('#{canvasViewBean.id}',SinoPortal.Cias.BpmFigure.joinCom);" mode="none">
				</sino:panelMenuItem>
				<sino:panelMenuItem label="状态活动" icon="./img/bpm/circle_red.png"
					onclick="SinoPortal.Cias.BpmConfig.bpmConfigElementAddCom('#{canvasViewBean.id}',SinoPortal.Cias.BpmFigure.stateCom);" mode="none">
				</sino:panelMenuItem>
				<sino:panelMenuItem label="人工任务活动" icon="./img/bpm/circle_red.png"
					onclick="SinoPortal.Cias.BpmConfig.bpmConfigElementAddCom('#{canvasViewBean.id}',SinoPortal.Cias.BpmFigure.taskCom);" mode="none">
				</sino:panelMenuItem>
				<sino:panelMenuItem label="子流程活动" icon="./img/bpm/circle_red.png"
					onclick="SinoPortal.Cias.BpmConfig.bpmConfigElementAddCom('#{canvasViewBean.id}',SinoPortal.Cias.BpmFigure.subProcessCom);" mode="none">
				</sino:panelMenuItem>
				<sino:panelMenuItem label="自定义活动" icon="./img/bpm/circle_red.png"
					onclick="SinoPortal.Cias.BpmConfig.bpmConfigElementAddCom('#{canvasViewBean.id}',SinoPortal.Cias.BpmFigure.customCom);" mode="none">
				</sino:panelMenuItem>
			</sino:panelMenuGroup>
		</sino:panelMenu>
	</div>
</ui:composition>



